﻿using System.Configuration;
using System.Web;

namespace DGSFramework
{
    public class ConfigPaths
    {
        #region "Category"
        public static int Category_Product_ID
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Category_Product_ID"]);
            }
        }

        public static int Category_Article_ID
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Category_Article_ID"]);
            }
        }

        public static int Category_Video_ID
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Category_Video_ID"]);
            }
        }

        public static int Category_Photo_ID
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["Category_Photo_ID"]);
            }
        }
        #endregion

        #region "Path"
        public static string Domain_Url
        {
            get
            {
                return ConfigurationManager.AppSettings["Domain_Url"].ToString();
            }
        }

        public static string Ref_Advertise360
        {
            get
            {
                return ConfigurationManager.AppSettings["Ref_Advertise360"].ToString();
            }
        }

        public static string Url_API_Advertise { get { return "api/advertising/?code={0}&id={1}&link={2}&ref={3}"; } }

        public static string Path_Infomation_Xml { get { return "\\Xml\\Information.xml"; } }

        public static string Path_Banner_Xml { get { return "\\Xml\\Banner.xml"; } }

        public static string Path_Support_Xml { get { return "\\Xml\\Support.xml"; } }

        public static string Path_GroupSupport_Xml { get { return "\\Xml\\GroupSupport.xml"; } }

        public static string Path_ContactGroup_Xml { get { return "\\Xml\\ContactGroup.xml"; } }

        public static string Path_Weblink_Xml { get { return "\\Xml\\Weblink.xml"; } }

        public static string Path_Hotline_Xml { get { return "\\Xml\\Hotline.xml"; } }

        public static string Path_Newsletter_Xml { get { return "\\Xml\\Newsletter.xml"; } }

        public static string Path_Rewrite_Xml { get { return "\\Xml\\Rewrite.xml"; } }

        public static string Path_Watermark_Xml { get { return "\\Xml\\Watermark.xml"; } }

        public static string Path_ImageUploadTemp_Folder_MapPath { get { return "\\UserUpload\\ImageUpload\\"; } }

        public static string Path_ImageUploadTemp_Folder { get { return "~/UserUpload/ImageUpload/"; } }

        public static string Path_ImageUpload_Folder_MapPath { get { return "\\UserUpload\\Images\\"; } }

        public static string Path_ImageUpload_Folder { get { return "~/UserUpload/Images/"; } }

        public static string Path_ImageBanner_Folder_MapPath { get { return "\\UserUpload\\Banners\\"; } }

        public static string Path_ImageBanner_Folder { get { return "~/UserUpload/Banners/"; } }

        public static string Path_ImageWeblink_Folder_MapPath { get { return "\\UserUpload\\Weblinks\\"; } }

        public static string Path_ImageWeblink_Folder { get { return "~/UserUpload/Weblinks/"; } }

        public static string Path_ImageCategories_Folder_MapPath { get { return "\\UserUpload\\Categories\\"; } }

        public static string Path_ImageCategories_Folder { get { return "~/UserUpload/Categories/"; } }

        public static string Path_FileDownload_Folder_MapPath { get { return "\\UserUpload\\Downloads\\"; } }

        public static string Path_FileDownload_Folder { get { return "~/UserUpload/Downloads/"; } }

        public static string Path_ImageArticle_Folder_MapPath { get { return "\\UserUpload\\Articles\\"; } }

        public static string Path_ImageArticle_Folder { get { return "~/UserUpload/Articles/"; } }

        public static string Path_ImagePhoto_Folder_MapPath { get { return "\\UserUpload\\Photos\\"; } }

        public static string Path_ImagePhoto_Folder { get { return "~/UserUpload/Photos/"; } }

        public static string Path_ImageAvatar_Folder_MapPath { get { return "\\UserUpload\\Avatars\\"; } }

        public static string Path_ImageAvatar_Folder { get { return "~/UserUpload/Avatars/"; } }

        public static string Path_ImageProduct_Folder_MapPath { get { return "\\UserUpload\\Products\\"; } }

        public static string Path_ImageProduct_Folder { get { return "~/UserUpload/Products/"; } }

        public static string Path_Videos_Folder_MapPath { get { return "\\UserUpload\\Videos\\"; } }

        public static string Path_Videos_Folder { get { return "~/UserUpload/Videos/"; } }

        public static string Path_Advertisings_Folder_MapPath { get { return "\\UserUpload\\Advertisings\\"; } }

        public static string Path_Advertisings_Folder { get { return "~/UserUpload/Advertisings/"; } }

        public static string Path_GalleryImage_Folder_MapPath { get { return "\\UserUpload\\GalleryImages\\"; } }

        public static string Path_GalleryImage_Folder { get { return "~/UserUpload/GalleryImages/"; } }
        #endregion
    }
}
